Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setImageAttachments Method #42

Merged
merged 4 commits into from
Jan 5, 2018
Merged

Add setImageAttachments Method #42

merged 4 commits into from
Jan 5, 2018

Conversation

LKaemmerling
Copy link
Collaborator

As suggested in #34 this is the new method for setting all possible image Attachments at the same time.

After this PR you could simply to

$message->setImageAttachments('/path/or/url/to/image.jpg');

and it adds the URL to the needed properties. If you want to customize it more (e.g. set another Image for iOS as for Web Push) you should use the setParameter($key, $value); -Method

@LKaemmerling LKaemmerling requested a review from Lloople January 5, 2018 12:14
@Lloople Lloople merged commit 66d34b3 into master Jan 5, 2018
@LKaemmerling LKaemmerling deleted the feature-add-set-Image branch January 5, 2018 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants